var t = require("../../requests/request.js");

Page({
    data: {
        deviceid: "",
        userbacklist: []
    },
    onLoad: function(t) {
        console.log(t), this.setData({
            deviceid: t.deviceid
        });
    },
    onReady: function() {
        this.loadUserBackListData(this.data.deviceid);
    },
    loadUserBackListData: function(a) {
        var e = this, i = this;
        wx.setNavigationBarTitle({
            title: "反馈列表"
        }), t.getUserBackList(a, function(t) {
            e.setData({
                userbacklist: t.Data
            }), console.log(e.data.userbacklist);
        }, null, function() {
            i.setData({
                loading: !1
            });
        });
    },
    onShow: function() {},
    onHide: function() {},
    onUnload: function() {},
    onPullDownRefresh: function() {},
    onReachBottom: function() {},
    onShareAppMessage: function() {}
});